/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package fr.insta.browser.view.webview;

/**
 * <p>WebViewListener interface.</p>
 *
 * @author Maarek
 * @version $Id: $Id
 */
public interface WebViewListener {

    /**
     * <p>onTitleChange.</p>
     *
     * @param webView a {@link fr.insta.browser.view.webview.SwingWebView} object.
     * @param oldTitle a {@link java.lang.String} object.
     * @param newTitle a {@link java.lang.String} object.
     */
    public void onTitleChange(SwingWebView webView, String oldTitle, String newTitle);

    /**
     * <p>onLocationChange.</p>
     *
     * @param webView a {@link fr.insta.browser.view.webview.SwingWebView} object.
     * @param oldLocation a {@link java.lang.String} object.
     * @param newLocation a {@link java.lang.String} object.
     */
    public void onLocationChange(SwingWebView webView, String oldLocation, String newLocation);
}
